package nullby.omnia.utils;


import nullby.common.utils.PreferencesManager;
import nullby.omnia.constaints.ApplicationConstaints;
import android.content.Context;


public class PreferencesOmnia extends PreferencesManager {
	private static PreferencesOmnia instance;

	private static Context mContext;
	private final String preferencesName = ApplicationConstaints.PREFERENCES;

	public static PreferencesOmnia get() {
		return instance;
	}

	public PreferencesOmnia(Context mContext) {
		if (instance == null) {
		}
	}

	public static PreferencesOmnia newInstance(Context context) {
		if (instance == null) {
			mContext = context;
			instance = new PreferencesOmnia(context);
		}
		return instance;
	}

	@Override
	public String getTag() {
		return PreferencesOmnia.class.getSimpleName();
	}

	@Override
	public String getPreferencesName() {
		return preferencesName;
	}

	@Override
	public Context getPreferencesContext() {
		return mContext;
	}
	

}
